package com.wzh.yebServe.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author wzh
 * @create 2022/11/17 12:49
 * @Description:
 */
@ApiModel(value = "菜单角色实体类")
@TableName("t_menu_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuRole  implements Serializable {
    private static final  long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "菜单id")
    private Integer mid;

    @ApiModelProperty(value = "角色id")
    private Integer rid;
}
